﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="ReportHL.aspx.cs" Inherits="HZ.Supervise.Web.TotalDrugs.ReportHL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="#">最高价及最低价采购情况</a></li>
            <li><a href="../TotalDrugs/ReportH.aspx">最高价采购明细</a></li>
            <li><a href="../TotalDrugs/ReportL.aspx">最低价采购明细</a></li>
        </ul>
    </div>
        <div id="tabcontent">
        <table class="querylist">
            <tr> 
              <td align="right">
                    单月时间：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtSingleTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyyMM',readOnly:true})"></asp:TextBox>
                </td>
               <td align="right">
                    累加时间：
                </td>
                <td align="left">
                    <asp:TextBox ID="txtAccumulationTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyyMM',readOnly:true})"></asp:TextBox>
                </td> 
                <td>
                    <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                </td>
            </tr> 
        </table>
    </div>
  <asp:GridView ID="gvwInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
        AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsID" HeaderText="流水号" />
            <asp:BoundField DataField="SortName" HeaderText="类别名称" />
            <asp:BoundField DataField="RegName" HeaderText="产品注册证名称" />
            <asp:BoundField DataField="RegCode" HeaderText="注册证号" />
            <asp:BoundField DataField="MaxHospitalName" HeaderText="最高价采购医疗机构" />
            <asp:BoundField DataField="MaxPrice" HeaderText="最高采购价（元）" />
            <asp:BoundField DataField="MinHospitalName" HeaderText="最低价采购医疗机构" />
            <asp:BoundField DataField="MinPrice" HeaderText="最低采购价（元）" />
            <asp:BoundField DataField="Chaprice" HeaderText="价差（元）" />
            <asp:BoundField DataField="Chadate" HeaderText="价差比例" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <span style="width: 30%; float: left; text-align: left">
            <hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
        </span><span style="width: 70%; text-align: right; float: right">
            <webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
                OnPageChanged="AspNetPager_CompanyPS_PageChanged">
            </webdiyer:AspNetPager>
        </span>
    </div>
</asp:Content>
